<form class="form-horizontal m-t" id="app_version" method="post" action="{:url('setting/add')}">
    <div class="form-group">
        <label class="col-sm-3 control-label">Android版本号：</label>
        <div class="input-group col-sm-7">
            <input id="apk_ver" type="text" class="form-control" name="site_info[apk_ver]" value="{$site_info.apk_ver ?? ''}" required="" aria-required="true">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">Android安卓安装包：</label>
        <div class="input-group col-sm-7">
            <input id="apk_url" class="form-control" name="site_info[apk_url]" value="{$site_info.apk_url ?? ''}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">IOS版本号：</label>
        <div class="input-group col-sm-7">
            <input id="ipa_ver" class="form-control" name="site_info[ipa_ver]" value="{$site_info.ipa_ver ?? ''}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">IOS下载链接：</label>
        <div class="input-group col-sm-7">
            <input id="ipa_url" class="form-control" name="site_info[ipa_url]" value="{$site_info.ipa_url ?? ''}">
        </div>
    </div>
    <input type="hidden" name="option_name" value="site_info">

    <div class="form-group">
        <div class="col-sm-4 col-sm-offset-8">
            <!--<input type="button" value="提交" class="btn btn-primary" id="postform"/>-->
            <button class="btn btn-primary" type="submit">确认提交</button>
        </div>
    </div>
</form>

